﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InsertAll.aspx.cs" Inherits="Web.admin.students.InsertAll" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css/style.css" rel="Stylesheet" />
    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../js/function.js" type="text/javascript"></script>
    <script type="text/javascript" language = "javascript">
        function checkAdd() {
            if ($("#txtName").val() == "") {
                alert("姓名不允许为空");
                return false;
            }
            if ($("#txtSid").val() == "") {
                alert("学号不允许为空");
                return false;
            }
            if ($("#txtInput").val() == "") {
                alert("用户名不允许为空");
                return false;
            }
            if ($("#txtPwd").val() == "") {
                alert("密码不允许为空");
                return false;
            }
            if ($("#txtIdNumber").val() == "") {
                alert("年级不允许为空");
                return false;
            }
            else
                return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="top_div">
        <div class="top_div_left" >
                <table>
                    <tr >
                        <td ><img src="../../images/main_hl.gif" alt="" /></td>
                        <td ><img src="../../images/main_hl2.gif" alt="" /></td>
                        <td class="topNav"><span>学生导入</span></td>
                        <td><img src="../../images/main_hr.gif" alt="" /></td>
                    </tr>
                </table>
        </div>
    </div>

    <div class="middle_div">
        <div class="middle_left"></div>
        <div class="middle_middle">
            <div class="navigation">
                <span>首页&gt;学生管理&gt;学生导入</span>
                <div style="float:right; margin-right:5px;">
                    <a href="STU_List.aspx">返回学生列表>></a>
                </div>
            </div>
            <div id="TabContent">
                <div id="Tab_nav">
                    <ul class="Tab_ul">
                            <!--批量导入学生列表 -->
                            <li class="selected" ><a href="javascript:;" onclick="tabs('#TabContent',0)"">批量导入</a></li>
                    </ul>
                </div>
                <div class="Tab_Con" style="display:block">
                    <div class="tools_box">
                        <div class="tools_bar">
                            <a href="../../Upload/学生信息.xls"  class="tools_btn"><span><b class="down">下载表格</b></span></a>
                        </div>
                    </div>
                    <div class="upload">
                        <asp:FileUpload ID="ExcelUpLoad" runat="server"   Width="200" Height="20" /><br />
                        <asp:Button ID="btn_up" CssClass="btn_submit" OnClick="btn_up_Click" runat="server" Text="批量上传"  />
                    </div>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
